package com.example.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author dengc
 * @since 2023-05-10
 */
@Getter
@Setter
@TableName("ams_petstype")
@ApiModel(value = "Petstype对象", description = "")
public class Petstype implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("宠物种类名称")
    private String typename;

    @ApiModelProperty("宠物种类描述")
    private String typedesc;

    @ApiModelProperty("分类宠物数")
    @TableField(exist = false)
    private Integer number;
}
